home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000117_shifeux@hotmail.com_Tue Nov 6 11:46:53 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  96 lines

  1. Article: 12935 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsxfer.eecs.umich.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: shifeux@hotmail.com (Shifeux)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Kermit Connection Script
  6. Date: 6 Nov 2001 08:09:40 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 78
  9. Message-ID: <336f652d.0111060809.1f3e3640@posting.google.com>
  10. NNTP-Posting-Host: 146.145.217.203
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1005062980 17748 127.0.0.1 (6 Nov 2001 16:09:40 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 6 Nov 2001 16:09:40 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12935
  17.  
  18. Hello, I am testing a kermit server script and a connection script to
  19. that particular kermit server.  I am running the kermit server on an
  20. IBM AIX4.3.3 server and I am writing the dial script on a DG-UX
  21. machine.  The server works fine as long as I login and issue commands
  22. manually. When I script the login however i get a "protocol error"
  23. telling me that a "login is required".  Below is a copy of the server
  24. log.
  25.  
  26. Transaction Log: C-Kermit 8.0.200 Beta.03, 9 Sep 2001
  27.  IBM AIX 4.3
  28. Tue Nov  6 10:33:04 2001
  29.  
  30. Remote system type:  UNIX
  31. Protocol Error: Logout ignored
  32.  
  33. In the client connection script I am trying to perform the following
  34. routine to test for files present on the server and to get them if
  35. they exsist.
  36.  
  37. ; Scripted login/password credentials, script will check at each stage
  38. of
  39. ; the authentication to ensure that session communications are not
  40. lost
  41.  
  42. output remote login \%l \%p\13               ; send remote login
  43. command to kermit server
  44.  
  45. write TRANSACTION-LOG Login Successful. \13\10\13\10
  46.  
  47. write TRANSACTION-LOG Sending request to download ** RESULTS **\13\10
  48.  
  49. ; Perform a query on the host server for files called test.*  The
  50. \v(query) variable
  51. ; will be 0 if no files match and 1 if any files match.
  52.  
  53. output remote query kermit files(test.*)
  54.  
  55. ; If the \v(query) value is not 0, then get the files matching test.*
  56.  
  57. if not equal "v\(query)" 0 {get test.*}
  58.  
  59. write TRANSACTION-LOG There are currently no files for transfer from
  60. NMS.
  61.  
  62. write TRANSACTION-LOG Results successfully downloaded from NMS.\13\10
  63.  
  64. output remote logout
  65.  
  66. exit
  67.  
  68. This gives me the following error.
  69.  
  70. Communication Device: /dev/tty01
  71.  Communication Speed: 38400
  72.               Parity: none
  73.          RTT/Timeout: 15 / 15
  74.  
  75.            File Type:
  76.            File Size:
  77.         Bytes so far:
  78.                          
  79. ...10...20...30...40...50...60...70...80...90..100
  80.         Elapsed Time: 00:00:00
  81.   Transfer Rate, CPS: 0
  82.         Window Slots: 1 of 1
  83.          Packet Type: E
  84.         Packet Count: 2
  85.        Packet Length: 14
  86.          Error Count: 0
  87.           Last Error: FAILURE: Login required
  88.         Last Message:
  89.  
  90.  
  91. I don't understand where the login failure is coming from. I have
  92. logged in properly. When i execute the exact same commands manually,
  93. all is fine, when i script them i have this problem. Is there
  94. something simple (or even complicated) i am missing? Could this be
  95. something with the kermit server itself? Thanks.
  96.